/**
 * 项目示例-列表综合搜索
 * Date 2023-5-25 09:33:56
 */
 import type { FilterItem } from '@/components/FilterBar/types'

 export const askOptions: FilterItem[] = [
   // 查询条件
   {
     label: '区域',
     prop: 'askRegion',
     type: 'radio',
     span: 14,
     inputProps: {
       options: [
         // { label: '隔离区外(T2/T3)', value: 1 },
         // { label: '隔离区内(南指廊/南三/T2/T3)', value: 2 }
       ]
     },
     events: {
       change: (value: any, evt: any) => {}
     }
   },
 
   {
     label: '问询内容',
     prop: 'askContent',
     type: 'input',
     span: 5,
     inputProps: {
       placeholder: '请输入问询内容'
     }
   },
   {
     label: '记录人',
     prop: 'recorder',
     type: 'input',
     span: 5,
     inputProps: {
       placeholder: '请输入记录人'
     }
   },
 
   {
     label: '问询类型', // 后续由接口获取下拉数据
     prop: 'askType',
     filterable:true,
     type: 'select',
     multiple: true,
     span: 14,
     defaultValue: '',
     inputProps: {
       filterable: true,
       allowcreate: true,
       defaultfirstoption: true,
       options: [],
       placeholder: '请选择问询类型(请先选择区域)'
     }
   },
   {
     label: '问询时间',
     prop: 'askTime',
     type: 'datePicker',
     span: 10,
     inputProps: {
       type: 'datetimerange',
       'range-separator': '至',
       'value-format': 'YYYY-MM-DD HH:mm:ss',
       'start-placeholder': '开始时间',
       'end-placeholder': '结束时间',
       defaultTime: [
         new Date(2000, 1, 1, 0, 0, 0),
         new Date(2000, 2, 1, 23, 59, 59)
       ]
     }
   }
 ]
 